package com.cloud.feign;

import netscape.javascript.JSObject;
import org.bouncycastle.cert.ocsp.Req;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(name = "cloud-demo1",url = "localhost:8080")
@FeignClient(name = "cloud-demo1")
public interface DemoFeign {
    @PostMapping("post")
    JSObject post(@RequestParam Req req);
}